<template>
  <div class="box">
    <el-breadcrumb separator=">">
      <el-breadcrumb-item to="/login" replace>首页</el-breadcrumb-item>
      <el-breadcrumb-item to="/login/shop" replace>运营管理</el-breadcrumb-item>
      <el-breadcrumb-item>优惠券使用详情</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="tableBox">
      <div class="tableTitle">优惠券使用详情</div>
      <div class="text">使用总数量:{{maxTotal}}</div>
      <el-table :data="tableData">
        <el-table-column type="index" label="序号" align="center" width="60"></el-table-column>
        <el-table-column prop="userMobile" label="用户手机号" align="center"></el-table-column>
        <el-table-column prop="userName" label="用户姓名" align="center"></el-table-column>
        <el-table-column prop="time" label="使用时间" align="center"></el-table-column>
        <el-table-column prop="userMobile" label="抵扣金额" align="center"></el-table-column>
        <el-table-column prop="userMobile" label="交易金额" align="center"></el-table-column>
        <el-table-column prop="userMobile" label="实付金额" align="center"></el-table-column>
      </el-table>
      <pagination @handleSize="handleSizeChange" @handleCurrent="handleCurrentChange" :maxTotal="maxTotal"></pagination>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import pagination from 'components/pagination'

  export default {
    data () {
      return {
        maxTotal: 10,
        tableData: []
      }
    },
    created () {
    },
    methods: {
      handleSizeChange (val) {
      },
      handleCurrentChange (val) {
      }
    },
    components: {
      pagination
    }
  }
</script>

<style lang="less" ref="stylesheet/less" scoped>
  .text {
    padding: 15px 20px;
    line-height: 16px;
    font-weight: bold;
  }
</style>
